package fair.service;

import fair.entity.PageResult;
import fair.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * @author fair_wu
 * @version v1.0
 * @date 2021-01-26 下午 13:04
 */
public interface SetMealService {
    void add(Setmeal setmeal, Integer[] checkGroupIds);

    PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

    void deleteById(Integer id);

    void edit(Setmeal setmeal, Integer[] checkGroupIds);

    List<Integer> findCheckGroupIdsBySetMealId(Integer id);

    Setmeal findById(Integer id);

    List<Setmeal> findAll();

    List<Map<String, Object>> findSetmealCount();
}
